// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeBackupsResponse.h"

namespace aliyun { namespace Rds {

DescribeBackupsResponse::DescribeBackupsResponse() {
}

const string& DescribeBackupsResponse::Backup::GetBackupId(void) const {
  return BackupId_;
}

const string& DescribeBackupsResponse::Backup::GetDBInstanceId(void) const {
  return DBInstanceId_;
}

const string& DescribeBackupsResponse::Backup::GetBackupStatus(void) const {
  return BackupStatus_;
}

const string& DescribeBackupsResponse::Backup::GetBackupStartTime(void) const {
  return BackupStartTime_;
}

const string& DescribeBackupsResponse::Backup::GetBackupEndTime(void) const {
  return BackupEndTime_;
}

const string& DescribeBackupsResponse::Backup::GetBackupType(void) const {
  return BackupType_;
}

const string& DescribeBackupsResponse::Backup::GetBackupMode(void) const {
  return BackupMode_;
}

const string& DescribeBackupsResponse::Backup::GetBackupMethod(void) const {
  return BackupMethod_;
}

const string& DescribeBackupsResponse::Backup::GetBackupDownloadURL(void) const {
  return BackupDownloadURL_;
}

const string& DescribeBackupsResponse::Backup::GetBackupLocation(void) const {
  return BackupLocation_;
}

const string& DescribeBackupsResponse::Backup::GetBackupExtractionStatus(void) const {
  return BackupExtractionStatus_;
}

const string& DescribeBackupsResponse::Backup::GetBackupScale(void) const {
  return BackupScale_;
}

const string& DescribeBackupsResponse::Backup::GetBackupDBNames(void) const {
  return BackupDBNames_;
}

int64 DescribeBackupsResponse::Backup::GetBackupSize(void) const {
  return BackupSize_;
}

const std::vector<DescribeBackupsResponse::Backup>& DescribeBackupsResponse::GetItems(void) const {
  return Items_;
}

const string& DescribeBackupsResponse::GetTotalRecordCount(void) const {
  return TotalRecordCount_;
}

const string& DescribeBackupsResponse::GetPageNumber(void) const {
  return PageNumber_;
}

const string& DescribeBackupsResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeBackupsResponse::BaseKey(void) {
  return "DescribeBackupsResponse";
}

void DescribeBackupsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeBackupsResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].BackupId_, response_map, "DescribeBackupsResponse.Items["+string_ValueOfInt(i1)+"].BackupId");
      UnmarshallerString(Items_[i1].DBInstanceId_, response_map, "DescribeBackupsResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceId");
      UnmarshallerString(Items_[i1].BackupStatus_, response_map, "DescribeBackupsResponse.Items["+string_ValueOfInt(i1)+"].BackupStatus");
      UnmarshallerString(Items_[i1].BackupStartTime_, response_map, "DescribeBackupsResponse.Items["+string_ValueOfInt(i1)+"].BackupStartTime");
      UnmarshallerString(Items_[i1].BackupEndTime_, response_map, "DescribeBackupsResponse.Items["+string_ValueOfInt(i1)+"].BackupEndTime");
      UnmarshallerString(Items_[i1].BackupType_, response_map, "DescribeBackupsResponse.Items["+string_ValueOfInt(i1)+"].BackupType");
      UnmarshallerString(Items_[i1].BackupMode_, response_map, "DescribeBackupsResponse.Items["+string_ValueOfInt(i1)+"].BackupMode");
      UnmarshallerString(Items_[i1].BackupMethod_, response_map, "DescribeBackupsResponse.Items["+string_ValueOfInt(i1)+"].BackupMethod");
      UnmarshallerString(Items_[i1].BackupDownloadURL_, response_map, "DescribeBackupsResponse.Items["+string_ValueOfInt(i1)+"].BackupDownloadURL");
      UnmarshallerString(Items_[i1].BackupLocation_, response_map, "DescribeBackupsResponse.Items["+string_ValueOfInt(i1)+"].BackupLocation");
      UnmarshallerString(Items_[i1].BackupExtractionStatus_, response_map, "DescribeBackupsResponse.Items["+string_ValueOfInt(i1)+"].BackupExtractionStatus");
      UnmarshallerString(Items_[i1].BackupScale_, response_map, "DescribeBackupsResponse.Items["+string_ValueOfInt(i1)+"].BackupScale");
      UnmarshallerString(Items_[i1].BackupDBNames_, response_map, "DescribeBackupsResponse.Items["+string_ValueOfInt(i1)+"].BackupDBNames");
      UnmarshallerInt64(Items_[i1].BackupSize_, response_map, "DescribeBackupsResponse.Items["+string_ValueOfInt(i1)+"].BackupSize");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerString(TotalRecordCount_, response_map, "DescribeBackupsResponse.TotalRecordCount");
  UnmarshallerString(PageNumber_, response_map, "DescribeBackupsResponse.PageNumber");
  UnmarshallerString(PageRecordCount_, response_map, "DescribeBackupsResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds {

// end of file 
